#ifndef __INI_OPERATION_H__
#define __INI_OPERATION_H__

/*ini line length*/
#define LINE_LENGTH 		256

/*	Function	: read_ini_num
	Description	: read file
	s_variant	: input: read  item name
	FileName 	: input: read  file path
	out_value   : output value, the user should free this memory.
*/
int read_ini_num(const char *s_variant,const char *filename, int * out_value);

/*	Function	: read_ini_str
	Description	: read file
	s_variant	: input: read  item name
	FileName 	: input: read  file path
	out_value   : output value, the user should free this memory.
*/
int read_ini_str(const char *s_variant,const char *filename, char * out_value);

/*	Function	: modify_ini
	Description	: modify file
	s_variant	: input: modify  item name
	s_value		: input: modify  value
	ini_file_path 	: input: modify  file path
*/
int modify_ini(const char *s_variant, char *s_value, const char* ini_file_path);

#endif
